package com.wf.smartcomm.server.job;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_job")
public class ScheduleJob {
	
	@Id
	@Column(length = 32)
	private String objectId;
	
	/** 任务id */
	@Column(length = 32)
    private String jobId;
 
    /** 任务名称 */
	@Column(length = 16)
    private String jobName;
 
    /** 任务分组 */
	@Column(length = 16)
    private String jobGroup;
 
    /** 任务状态 0停止 1运行 */
	@Column
    private Integer jobStatus;
 
    /** 任务运行时间表达式 */
	@Column(length = 20)
    private String cronExpression;

	@Column(length = 20)
	private String startAt;

	@Column(length = 20)
    private String createdAt;
	
	@Column(length = 20)
    private String updatedAt;
	

	public String getStartAt() {
		return startAt;
	}

	public void setStartAt(String startAt) {
		this.startAt = startAt;
	}

	public String getObjectId() {
		return objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getJobGroup() {
		return jobGroup;
	}

	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

	public Integer getJobStatus() {
		return jobStatus;
	}

	public void setJobStatus(Integer jobStatus) {
		this.jobStatus = jobStatus;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public String getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(String createdAt) {
		this.createdAt = createdAt;
	}

	public String getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(String updatedAt) {
		this.updatedAt = updatedAt;
	}
}
